﻿using AIO.Entity;
using AIO.IService.Base;

namespace AIO.IService
{
    public interface ITeacherRepository:IBaseRepository<Teacher>
    {
        /// <summary>
        /// 获取
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public Teacher? Get(Guid id);
        /// <summary>
        /// 获取
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public Teacher? Get(string name);
    }
}
